<?php

use Illuminate\Database\Schema\Blueprint;
use Illuminate\Database\Migrations\Migration;

class AddProduceStatusToOrderTable extends Migration
{
    /**
     * Run the migrations.
     *
     * @return void
     */
    public function up()
    {
        Schema::table('el_order', function (Blueprint $table) {
            $table->string('produce_status')->nullable()->after('status');  //生产状态，用于定制化产品
        });
    }

    /**
     * Reverse the migrations.
     *
     * @return void
     */
    public function down()
    {
        Schema::table('el_goods_model', function (Blueprint $table) {
            $table->dropColumn('produce_status');
        });
    }
}
